FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER hzchen@360tec.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /shycloud-zipkin

WORKDIR /shycloud-zipkin

EXPOSE 5006

ADD ./shycloud-tools/shycloud-zipkin/target/shycloud-zipkin.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar shycloud-zipkin.jar
